﻿// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_BLUEPRINT_PRINT_HISTORY
// * CreateDate    : 2012/3/22 14:41:01
// * Creater       : CodeSmith
// * LastChangeDate: 2012/3/22 14:41:01
// * LastChanger   : 2012/3/22 14:41:01
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class ProdBlueprintPrintHistoryTable : TableInfo
    {
        public const string C_TableName = "PROD_BLUEPRINT_PRINT_HISTORY";

        public const string C_ID = "ID";
        public const string C_PRODUCT_PLAN_ORDER_ITEM_ID = "PRODUCT_PLAN_ORDER_ITEM_ID";
        public const string C_BLUEPRINT_ID = "BLUEPRINT_ID";
        public const string C_PRINT_TIME = "PRINT_TIME";
        public const string C_PRINT_PERSON = "PRINT_PERSON";
        public const string C_PRINT_TYPE = "PRINT_TYPE";
        public const string C_PRINT_QTY = "PRINT_QTY";

        public ProdBlueprintPrintHistoryTable()
        {
            _tableName = "PROD_BLUEPRINT_PRINT_HISTORY";
        }

        protected static ProdBlueprintPrintHistoryTable _current;
        public static ProdBlueprintPrintHistoryTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new ProdBlueprintPrintHistoryTable();

            _current.Add(C_ID, new ColumnInfo(C_ID, "Id", true, typeof(string)));
            _current.Add(C_PRODUCT_PLAN_ORDER_ITEM_ID, new ColumnInfo(C_PRODUCT_PLAN_ORDER_ITEM_ID, "ProductPlanOrderItemId", false, typeof(string)));
            _current.Add(C_BLUEPRINT_ID, new ColumnInfo(C_BLUEPRINT_ID, "BlueprintId", false, typeof(string)));
            _current.Add(C_PRINT_TIME, new ColumnInfo(C_PRINT_TIME, "PrintTime", false, typeof(DateTime)));
            _current.Add(C_PRINT_PERSON, new ColumnInfo(C_PRINT_PERSON, "PrintPerson", false, typeof(string)));
            _current.Add(C_PRINT_TYPE, new ColumnInfo(C_PRINT_TYPE, "PrintType", false, typeof(int)));
            _current.Add(C_PRINT_QTY, new ColumnInfo(C_PRINT_QTY, "PrintQty", false, typeof(int)));

        }

        public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }

        public ColumnInfo PRODUCT_PLAN_ORDER_ITEM_ID
        {
            get { return this[C_PRODUCT_PLAN_ORDER_ITEM_ID]; }
        }

        public ColumnInfo BLUEPRINT_ID
        {
            get { return this[C_BLUEPRINT_ID]; }
        }

        public ColumnInfo PRINT_TIME
        {
            get { return this[C_PRINT_TIME]; }
        }

        public ColumnInfo PRINT_PERSON
        {
            get { return this[C_PRINT_PERSON]; }
        }

        public ColumnInfo PRINT_TYPE
        {
            get { return this[C_PRINT_TYPE]; }
        }

        public ColumnInfo PRINT_QTY
        {
            get { return this[C_PRINT_QTY]; }
        }



    }
}

